<div class="mb-2 mt-2">
    <div>
        <label class="pb-2 pt-2 mb-0 font-weight-bold">
        <input type="checkbox" id="role_{:$role->getKey()}" name="role_ids[]" value="{:$role->getKey()}" {:$role->getData("checked")} />
        <span class="pl-1">{:$role->getTitle()}</span>
        </label>
    </div>
</div>
{loop $role->getChildNodes() $role}
    {template './user_role_tpl'}
{/loop}